Skip to content

[Messenger] Add full retry strategy example with delay and jitter#21666

Merged
javiereguiluz merged 1 commit intosymfony:7.4from
mohammadRezaei1380:add_full
Feb 24, 2026
Merged

[Messenger] Add full retry strategy example with delay and jitter#21666
javiereguiluz merged 1 commit intosymfony:7.4from
mohammadRezaei1380:add_full

Conversation

@mohammadRezaei1380
Copy link
Copy Markdown
Contributor

@mohammadRezaei1380 mohammadRezaei1380 commented Dec 29, 2025

This PR adds a complete example showing how to configure a retry strategy for a Messenger transport in Symfony.

The example includes max_retries, delay, multiplier, max_delay, and jitter, demonstrating how to control the number of retries and the delay between failed message attempts.

It is added to the messenger.rst documentation under the transport configuration section. No changes to actual code or behavior are made.

refs #21665

@carsonbot carsonbot added this to the 7.3 milestone Dec 29, 2025
@OskarStark OskarStark changed the title [Messenger] Add full retry strategy example with delay and jitter #21665 [Messenger] Add full retry strategy example with delay and jitter Jan 7, 2026
@javiereguiluz javiereguiluz changed the base branch from 7.3 to 7.4 February 24, 2026 16:29
@javiereguiluz javiereguiluz merged commit 378cab3 into symfony:7.4 Feb 24, 2026
3 checks passed
@javiereguiluz
Copy link
Copy Markdown
Member

Thanks Mohammad. We merged your contribution but removed the .. note because we think it wasn't necessary with the config example and the comments on each option. We also expanded some of the proposed comments.

In any case, although we didn't kept all th eproposed changes, your contribution was useful to review these comments. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants